x86/smp: move and clean APIC helpers
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 20 Jan 2020 11:48:05 +0000 (12:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 20 Jan 2020 11:48:05 +0000 (12:48 +0100)
commit9366a8cc1ca2725d6c18a8217aae013edfadf55e
tree08f12e7a3ad7c71f425c7f141bb159a9628dffcf
parent525f5732b288a0546049cb86671aea8f0482ba66
x86/smp: move and clean APIC helpers

Move __prepare_ICR{2}, apic_wait_icr_idle and
__default_send_IPI_shortcut to the top of the file, since they will be
used by send_IPI_mask in future changes.

While there, take the opportunity to remove the leading underscores,
drop the inline attribute, drop the default prefix from the shorthand
helper, change the return type of the prepare helpers to unsigned and
do some minor style cleanups.

No functional change intended.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/smp.c